package com.yjd.comm.borrow.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：投标记录模型<br>
 * <b>time</b>：2014-11-17 11:00:58 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public class InvestModel extends Model {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Long id;
	/**
	 * 标的id
	 */
	private Long borrow_id;
	/**
	 * 投标人
	 */
	private Long user_id;
	/**
	 * 投标金额
	 */
	private Double price;
	/**
	 * 使用红包金额
	 */
	private Double reward;
	/**
	 * 使用充值券金额
	 */
	private Double volume;
	/**
	 * 投标渠道
	 */
	private Integer channel;
	/**
	 * 投标时间
	 */
	private Long addtime;

	/**
	 * 持有份数(每份金额参数borrow中each_price)
	 */
	private Integer partnum;

	/**
	 * 加息券编号
	 */
	private Long raise_interest_volume_id;

	public InvestModel() {
	}

	public InvestModel(Long borrow_id, Long user_id, Double price, Double reward, Double volume, Integer channel, Long addtime, Integer partnum,Long raise_interest_volume_id) {
		this.borrow_id = borrow_id;
		this.user_id = user_id;
		this.price = price;
		this.reward = reward;
		this.volume = volume;
		this.channel = channel;
		this.addtime = addtime;
		this.partnum = partnum;
		this.raise_interest_volume_id = raise_interest_volume_id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getBorrow_id() {
		return borrow_id;
	}

	public void setBorrow_id(Long borrow_id) {
		this.borrow_id = borrow_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getReward() {
		return reward;
	}

	public void setReward(Double reward) {
		this.reward = reward;
	}

	public Double getVolume() {
		return volume;
	}

	public void setVolume(Double volume) {
		this.volume = volume;
	}

	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	public Long getAddtime() {
		return addtime;
	}

	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}

	public Integer getPartnum() {
		return partnum;
	}

	public void setPartnum(Integer partnum) {
		this.partnum = partnum;
	}

	public Long getRaise_interest_volume_id() {
		return raise_interest_volume_id;
	}

	public void setRaise_interest_volume_id(Long raise_interest_volume_id) {
		this.raise_interest_volume_id = raise_interest_volume_id;
	}

}
